package com.gsabs.ihm;

import javax.swing.JPanel;
import java.awt.GridBagLayout;
import javax.swing.JButton;
import java.awt.GridBagConstraints;
import java.awt.Insets;

public class P extends JPanel {

	/**
	 * Create the panel.
	 */
	public P() {
		GridBagLayout gridBagLayout = new GridBagLayout();
		gridBagLayout.columnWidths = new int[]{0, 0, 0, 0, 0, 0, 0, 0};
		gridBagLayout.rowHeights = new int[]{0, 0, 0, 0, 0};
		gridBagLayout.columnWeights = new double[]{0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, Double.MIN_VALUE};
		gridBagLayout.rowWeights = new double[]{0.0, 0.0, 0.0, 0.0, Double.MIN_VALUE};
		setLayout(gridBagLayout);
		
		JButton bAjouter = new JButton("ajouter");
		
		GridBagConstraints gbc_bAjouter = new GridBagConstraints();
		gbc_bAjouter.weightx = 1.0;
		gbc_bAjouter.insets = new Insets(0, 0, 0, 5);
		gbc_bAjouter.fill = GridBagConstraints.HORIZONTAL;
		gbc_bAjouter.gridx = 5;
		gbc_bAjouter.gridy = 3;
		add(bAjouter, gbc_bAjouter);

	}

}
